package com.arges.web.domain.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 公告
 * 
 * @author zxj
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "notice")
public class Notice implements java.io.Serializable
{

	@Id
	@SequenceGenerator(name = "notice", sequenceName = "SEQ_NOTICE")
	@GeneratedValue(generator = "notice", strategy = GenerationType.AUTO)
	private Long id;

	// 标题
	@Column(name = "TITLE")
	private String title;

	// 用户名
	@Column(name = "USER_NAME")
	private String userName;

	// 内容
	@Column(name = "MEMO")
	private String memo;

	// 创建日期
	@Column(name = "DATE")
	private Date createDate;

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getTitle()
	{
		return title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public String getMemo()
	{
		return memo;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public Date getCreateDate()
	{
		return createDate;
	}

	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}
}
